CXX = g++
CXXFLAGS = -O2 -march=native

LDFLAGS += -pthread

SRCS = $(wildcard *.cpp) $(wildcard cryptopp/*.cpp)
OBJS = $(SRCS:.cpp=.o)

PROG = cryptopp_bench

all: cryptopp_bench

cryptopp_bench: $(OBJS)
	$(CXX) -o $(PROG) $(CXXFLAGS) $(OBJS) $(LDFLAGS) $(LDLIBS)

clean:
	rm -f $(PROG) $(OBJS)
